<%-- 
    Document   : inscription
    Created on : 28 mars 2013, 23:44:45
    Author     : virginie
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<%@ taglib prefix="s" uri="/struts-tags" %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>MiagistShop - Nouvelle Inscription</title>
        <link rel="stylesheet" type="text/css" media="screen" href="jsp/css/css_main.css" />
    </head>
    <body>
        <s:include value="homePage.jsp"/>


        <!-- Document --> 
        <div id="document2"> 

            <!-- Colonne 1 ListeCatégorie --> 

            <div id="colonne1">
                <s:include value="colonne1Menu.jsp"/>  
            </div>

            <!-- Colonne 2 --> 
            <div id="colonne2" style="text-align: left;"> 

                <br>
                <h2>Formulaire d'inscription </h2>
                <br>
                <s:form namespace="/" action="client.new">
                    <s:textfield name="nom" label="Nom" required="true" key="nom"/>
                    <s:textfield name="prenom" label="Prenom" required="true" key="prenom"/>
                    <s:textfield name="iban" label="Numéro IBAN" required="true" key="iban"/>
                    <s:textfield name="solde" label="Solde" key="solde"/>
                    <s:textfield name="adresse_client" label="Adresse" required="true" key="adresse_client"/>
                    <s:textfield name="codepostal_client" label="Code Postal" required="true" key="codepostal_client"/>
                    <s:textfield name="ville_client" label="Ville" required="true" key="ville_client"/>
                    <s:textfield name="email" label="email" required="true" key="email"/>
                    <s:textfield name="login" label="login" required="true" key="login"/>
                    <s:password name="password" label="password" required="true" key="password"/>

                    <s:if test="%{panierInscription == 'nouveauInscription'}">
                        <s:hidden name="pagePanier"  value="oui"/><s:property value="%{panierInscription}"/>
                    </s:if>
                    <s:else>
                        <s:hidden name="pagePanier"  value="non"/>
                    </s:else>
                    <s:submit value="s'enregistrer"/>
                </s:form>

                <br><br>

            </div>  

            <!-- Colonne 3 --> 
            <s:include value="recherche.jsp"/>

        </div>


        <!-- Footer --> 
        <s:include value="footer.jsp"/> 
    </body>
</html>